package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractAttachFactory
{
    private ContractAttachFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractAttach getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAttach)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("D2352AFD") ,com.kingdee.eas.xbang.contract.IContractAttach.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractAttach getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAttach)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("D2352AFD") ,com.kingdee.eas.xbang.contract.IContractAttach.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractAttach getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAttach)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("D2352AFD"));
    }
    public static com.kingdee.eas.xbang.contract.IContractAttach getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAttach)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("D2352AFD"));
    }
}